package com.ruoyi.community.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class BbsArticleDetail {
    private Long articleid;

    private Long authorid;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createtime;

    private String title;

    private String content;

    private String picurls;

    private Integer commentnumber;

    private Integer viewnumber;

    private Integer theme;

    private Integer statusflag;

    private Integer deleteflag;

    private Integer communityid;

    private String nickName;

    private String avatar;

    //最后一个
    private String lastCommenter;

    public BbsArticleDetail() {
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lastCommentTime;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getLastCommenter() {
        return lastCommenter;
    }

    public void setLastCommenter(String lastCommenter) {
        this.lastCommenter = lastCommenter;
    }

    public Date getLastCommentTime() {
        return lastCommentTime;
    }

    public void setLastCommentTime(Date lastCommentTime) {
        this.lastCommentTime = lastCommentTime;
    }

    public String getNickName() {return nickName;}

    public void setNickName(String nickName) { this.nickName = nickName;}

    public Long getArticleid() {
        return articleid;
    }

    public void setArticleid(Long articleid) {
        this.articleid = articleid;
    }

    public Long getAuthorid() {
        return authorid;
    }

    public void setAuthorid(Long authorid) {
        this.authorid = authorid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getPicurls() {
        return picurls;
    }

    public void setPicurls(String picurls) {
        this.picurls = picurls == null ? null : picurls.trim();
    }

    public Integer getCommentnumber() {
        return commentnumber;
    }

    public void setCommentnumber(Integer commentnumber) {
        this.commentnumber = commentnumber;
    }

    public Integer getViewnumber() {
        return viewnumber;
    }

    public void setViewnumber(Integer viewnumber) {
        this.viewnumber = viewnumber;
    }

    public Integer getTheme() {
        return theme;
    }

    public void setTheme(Integer theme) {
        this.theme = theme;
    }

    public Integer getStatusflag() {
        return statusflag;
    }

    public void setStatusflag(Integer statusflag) {
        this.statusflag = statusflag;
    }

    public Integer getDeleteflag() {
        return deleteflag;
    }

    public void setDeleteflag(Integer deleteflag) {
        this.deleteflag = deleteflag;
    }

    public Integer getCommunityid() {
        return communityid;
    }

    public void setCommunityid(Integer communityid) {
        this.communityid = communityid;
    }
}